package com.cc8w.service;

import com.cc8w.entity.UserEntity;
import com.cc8w.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;
    //获取用户数据
    public UserEntity getUser(){
        return userMapper.getUser();

    }
    //获取全部数据
    public UserEntity getUserAll(){
        return userMapper.getUserAll();

    }
    //获取分页数据

    public UserEntity getUserPage(){
        return userMapper.getUserPage();

    }



}
